package com.medvalley.tcm.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel(value = "EarData", description = "耳朵检测数据")
public class EarPojo {
    @ApiModelProperty(value = "上传时不用填写这个字段")
    private long id;
    /**
     * 医生编号
     */
    private int doctorId;

    /**
     * 病例编号
     */
    private long medicalID;
    /**
     * 电阻值
     */
    private int basicImpedance;

    /**
     * 电阻数据
     */
    private String acuPointImpedance;

    /**
     * 报告路径
     */
    private String diagnosisPath;

    /**
     * 备注
     */
    private String reMarks;
    /**
     * 诊断日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date diagnosisDate;

    @ApiModelProperty(value = "上传时不用填写这个字段")
    private Date createTime;
    @ApiModelProperty(value = "上传时不用填写这个字段")
    private Date updateTime;
}
